#pragma once
#include "vcontainer.h"

class VCatagoryEffectRow :
    public VContainer
{
    friend class VCatagoryEffect;
public:
    VCatagoryEffectRow(void);
    ~VCatagoryEffectRow(void);

    void init();
    void animate();

public:
    void expand();

protected:
    static const int item_count = 5;
    static const int expand_time = 400;
    static const int
    item_w = 128,
    item_h = 128 * (4.0 / 3.0);
    static const int
    item_x_margin = item_w * 0.93;

public:    // re enable move function
    void move(int x, int y);

protected:
    bool _expanding;
    int _time;
    int _starttime;
};
